package com.itheima.test;


import org.junit.Test;

import java.text.ParseException;

public class tset {

    private String s;
    @Test
    public void test() throws ParseException {
       /* String s = "1594716772889";
        Long l = 1594716772889L;
        *//*DateFormat format= new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒");
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String dateString = formatter.format(s);
        Date parse = format.parse(s);*//*
       SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        *//*Date date = formatter.parse(s);*//*
        Date date = new Date(l);
        String dateString = formatter.format(date);
        ParsePosition pos = new ParsePosition(8);
        Date currentTime_2 = formatter.parse(dateString);
        System.out.println(dateString);*/
        Double b = 90.0d;
        int i = b.intValue();
        Integer integer = Integer.valueOf(i);
        //Integer num = Integer.valueOf(s);
        System.out.println(integer);
    }
}
